﻿namespace Leow.TextEditor
{
    /// <summary>
    /// Describes how a text is formatted.
    /// </summary>
    public enum TextFormatMode
    {
        /// <summary>
        /// The foreground of the text is set to a different color.
        /// </summary>
        Foreground,

        /// <summary>
        /// The area behind the text is set to a different color.
        /// </summary>
        Highlight
    }

    /// <summary>
    /// Describes how the text selection highlight is drawn.
    /// </summary>
    public enum TextEditorSelectionMode
    {
        /// <summary>
        /// The selection highlight is drawn on top of characters that have been
        /// selected only.
        /// </summary>
        Character,

        /// <summary>
        /// The selection highlight is drawn on top of the entire line even if
        /// not all characters in that line are selected.
        /// </summary>
        Line
    }
}
